home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dgetc2.z / dgetc2
Encoding:
Text File  |  2002-10-03  |  3.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4. DDDDGGGGEEEETTTTCCCC2222((((3333SSSS))))                                                          DDDDGGGGEEEETTTTCCCC2222((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DGETC2 - compute an LU factorization with complete pivoting of the n-by-n
  10.      matrix A
  11.  
  12. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.      SUBROUTINE DGETC2( N, A, LDA, IPIV, JPIV, INFO )
  14.  
  15.          INTEGER        INFO, LDA, N
  16.  
  17.          INTEGER        IPIV( * ), JPIV( * )
  18.  
  19.          DOUBLE         PRECISION A( LDA, * )
  20.  
  21. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  22.      These routines are part of the SCSL Scientific Library and can be loaded
  23.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  24.      directs the linker to use the multi-processor version of the library.
  25.  
  26.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  27.      4 bytes (32 bits). Another version of SCSL is available in which integers
  28.      are 8 bytes (64 bits).  This version allows the user access to larger
  29.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  30.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  31.      only one of the two versions; 4-byte integer and 8-byte integer library
  32.      calls cannot be mixed.
  33.  
  34. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  35.      DGETC2 computes an LU factorization with complete pivoting of the n-by-n
  36.      matrix A. The factorization has the form A = P * L * U * Q, where P and Q
  37.      are permutation matrices, L is lower triangular with unit diagonal
  38.      elements and U is upper triangular.
  39.  
  40.      This is the Level 2 BLAS algorithm.
  41.  
  42.  
  43. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  44.      N       (input) INTEGER
  45.              The order of the matrix A. N >= 0.
  46.  
  47.      A       (input/output) DOUBLE PRECISION array, dimension (LDA, N)
  48.              On entry, the n-by-n matrix A to be factored.  On exit, the
  49.              factors L and U from the factorization A = P*L*U*Q; the unit
  50.              diagonal elements of L are not stored.  If U(k, k) appears to be
  51.              less than SMIN, U(k, k) is given the value of SMIN, i.e., giving
  52.              a nonsingular perturbed system.
  53.  
  54.      LDA     (input) INTEGER
  55.              The leading dimension of the array A.  LDA >= max(1,N).
  56.  
  57.      IPIV    (output) INTEGER array, dimension(N).
  58.              The pivot indices; for 1 <= i <= N, row i of the matrix has been
  59.              interchanged with row IPIV(i).
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDGGGGEEEETTTTCCCC2222((((3333SSSS))))                                                          DDDDGGGGEEEETTTTCCCC2222((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      JPIV    (output) INTEGER array, dimension(N).
  75.              The pivot indices; for 1 <= j <= N, column j of the matrix has
  76.              been interchanged with column JPIV(j).
  77.  
  78.      INFO    (output) INTEGER
  79.              = 0: successful exit
  80.              > 0: if INFO = k, U(k, k) is likely to produce owerflow if we try
  81.              to solve for x in Ax = b. So U is perturbed to avoid the
  82.              overflow.
  83.  
  84. FFFFUUUURRRRTTTTHHHHEEEERRRR DDDDEEEETTTTAAAAIIIILLLLSSSS
  85.      Based on contributions by
  86.         Bo Kagstrom and Peter Poromaa, Department of Computing Science,
  87.         Umea University, S-901 87 Umea, Sweden.
  88.  
  89.  
  90. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  91.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  92.  
  93.      This man page is available only online.
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.